/*
 * Project: com.common.framework.dto
 *
 * File Created at 2019-10-20
 *
 * Copyright 2019 CMCC Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * ZYHY Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license.
 */
package com.common.framework.dto;

import lombok.Data;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

/**
 * @author jianghucoding
 * @date 2019-10-20
 */
@Data
public class PageDTO {

    @Min(value = 1, message = "page 非法参数")
    private int page;

    @Max(value = 100, message = "size 非法参数")
    @Min(value = 1, message = "size 非法参数")
    private int size;
}
